package com.cdd.index.feign;



import com.common.vo.GoodsVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;


@FeignClient("caiduoduo-goods")
public interface GoodsFeign {

    @PostMapping("/goods/goods/selectGoodsZone/")
    public List<GoodsVo> selectGoodsZone();

    @PostMapping("/goods/ApiGoods/updateById/{id}")
    public Integer updateById(@PathVariable String id);

    }
